openconnect: fix off-by-one while condition
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 6 Dec 2025 19:53:14 +0000 (20:53 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 9 Dec 2025 09:02:43 +0000 (10:02 +0100)
commite35de9af78e3ce12eb810e8d58be83c850c319d4
treea57369c2f1d064d618cd65865f62e60b3db6cd4a
parent8bf5f683fec7af107808435d9e31a0cd838d4491
openconnect: fix off-by-one while condition

resolveip returns 0 on success. This means that the while loop
will just run until all tries are exhausted. But this was not
the intended behaviour.

Fixes: 20ea72607bbf ("openconnect: make host dependency more resilient")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
net/openconnect/Makefile
net/openconnect/files/openconnect.sh